Xbasic

OBJECT.FETCH_NEXT Function

Syntax

.Fetch_Next([table as c])

Arguments

table

Character

Description

Moves to the next record in the query.

Discussion

The <OBJECT>.FETCH_NEXT() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.FETCH_NEXT() method moves to the next record in the current query.

Example

This script is attached to a button. It moves to the next record in the current query:

parentform.fetch_next()

This script is attached to a button. It moves to the next record in the embedded browse (called Items) on a form:

parentform:items.fetch_next()

Limitations

Desktop applications only.

See Also